﻿using UnityEngine;
using System.Collections;
using ResourceSystem;
using BehaviorSystem;
using UISystem;
public class GameLaunch : MonoBehaviour
{

    // Use this for initialization
    void Start()
    {

        ResourceSystemFacade.Inst.InitSystem(false);
        UISystemFacade.Inst.Init();
        UISystemFacade.Inst.OpenWindow(1);
        GameTimeSystemFacade.Inst.RegisterTimer(10, 1, () => { BehaviorSystemFacade.Inst.Tick(); });
    }

    // Update is called once per frame
    void Update()
    {

    }
}
